package models;

import javax.persistence.Entity;
import javax.persistence.Id;

import play.db.ebean.Model;
import play.db.ebean.Model.Finder;

@Entity
public class edu_instructors extends Model {
	@Id
	public int id;
	public String name;

	public static Finder<Long,edu_instructors> find = new Finder<Long,edu_instructors>(Long.class, edu_instructors.class);
	
	public static edu_instructors findById(int Id) {
        return edu_instructors.find.where().eq("id", Id).findUnique();
    }	
	
}
